<?php
namespace app\admin\controller;


use think\Request;
use think\Controller;
use View;
use Db;
use Session;
use app\common\model\User as UserModel;

class User extends Controller
{



    public function userlist(UserModel $userModel){

        $datas = $userModel->getPageList();

        $this->assign('datas', $datas);

        return $this->fetch();
    }

}